<tagLib name="preem" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title>{&index_name} {&site_name} 学生工作</title>
        <link rel="stylesheet" type="text/css" href="__TMPL__reset.css"/>
        <link rel="stylesheet" type="text/css" href="{$TplPath}/css/index.css"/>
        <script type="text/javascript" src="__TMPL__v.js"></script>
        <script type="text/javascript">
            DD_roundies.addRule('.rounded', '8px', true);
            DD_roundies.addRule('#commands', '0 0 8px 8px', true);
            DD_roundies.addRule('#head', '0 0 10px 10px', true);
            DD_roundies.addRule('#menu', '8px', true);
        </script>
    </head>
    <body>
        <div id="container" class="clearfix">
            {:get_var('Head_Stuic')}
            <div id="content" class="clearfix">
                    <div id="c1">
                        <div id="c11" class="half rounded">
                            <h5>图片新闻</h5>
                            <div id="ppt" class="rounded" style="padding-left:2px">
                                <script type="text/javascript">
                                    linkarr = new Array();
                                    picarr = new Array();
                                    textarr = new Array();
                                    var focus_width=490;
                                    var focus_height=310;
                                    var text_height=20;
                                    var pics = "";
                                    var links = "";
                                    var texts = "";
                                    var swf_height = focus_height+text_height;                           
                                   <preem:arclist id="vo" rows="6" thumb="true" category="60" cascade="100">
                                        linkarr.push("__URL__/view/id/{$vo['id']}.html");
                                        picarr.push("{$vo['thumb']}");
                                        textarr.push("{$vo['title']}");
                                    </preem:arclist>                            
                                    pics=picarr.join("|");
                                    links=linkarr.join("|");
                                    texts=textarr.join("|");
                                    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
                                    document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="__TMPL__slide.swf">');
                                    document.write('<param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
                                    document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
                                    document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
                                    document.write('<embed src="__TMPL__slide.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
                                    document.write('</object>');
                                </script>
                            </div>
                            <div class="mailcontact rounded">
                                <span>联系我们</span>&nbsp;&nbsp;
                                <select onchange="copy2Clipboard(this)">
                                    <option value="0">请选择...</option>
                                    <option value="fayouhuang@163.com">黄发友副书记</option>
                                    <option value="zhigangzheng@fzu.edu.cn">郑志刚团委书记</option>
                                    <option value="635917757@qq.com">夏钢辅导员</option>
                                    <option value="9875083@qq.com">柯晓蕾辅导员</option>
                                    <option value="278612103@qq.com">贾静辅导员</option>
                                    <option value="330721700@qq.com">程国庆辅导员</option>
                                    <option value="249328467@qq.com">王海龙辅导员</option>
                                </select>
                            </div>
                        </div>
                        <div id="c12" class="half rounded list">
                            <h5>滚动消息</h5>
                            <div id="scroll">
                                <?php $CC=GC_Category();?>
                                <ul id="scroll1">
                                    <preem:arclist id="vo" category="61,62,65,107,212,76,81,99,213,92,94,95,96,97,98,216,168,174,180,185" cascade="2" rows="20">
                                        <li>
                                            <label>{$vo['pubdate']|parseDatetime='m-d',###}</label>
                                            <a href="__URL__/category/id/{$vo['category']}.html">[<?php $arr=split('-->',$CC[$vo['category']]['fullname']);echo $arr[1];?>]</a>&nbsp;<a href="__URL__/view/id/{$vo['id']}.html">{$vo['title']|suffixstr=###,20}</a>
                                        </li>
                                    </preem:arclist>
                                </ul>
                                <ul id="scroll2"></ul>
                            </div>
                            <script type="text/javascript">
                                var listCount=document.getElementById("scroll1").childNodes.length;
                                if(listCount>10){
                                    var newsScroll = new ppRoll({
                                        speed:40,
                                        demo:"scroll",
                                        demo1:"scroll1",
                                        demo2:"scroll2",
                                        objStr:"newsScroll",
                                        width:"525px",
                                        height:"370px",
                                        direction:"top"
                                    });
                                }
                            </script>
                        </div>
                    </div>
                    <div id="c3" class="clearfix">
                        <div id="links" style="width:40%">
                            <h5>友情链接</h5>
                            <ul style="list-style:none;margin-left:32px">
                                <li>
                                   <select onchange="openSelectLink(this)">
                                        <option value="0" selected>------ 校内站点 ------</option>
                                        <option value="http://stuic.fzu.edu.cn/">校学生处</option>
                                        <option value="http://youth.fzu.edu.cn/">校团委</option>
                                        <option value="http://jwch.fzu.edu.cn/">校教务处</option>
                                        <option value="http://www.fjrclh.com/">福建人才联合网</option>
                                        <option value="http://www.fjbys.gov.cn/">福建省毕业生就业公共网</option>
                                    </select>&nbsp;
                                    <select onchange="openSelectLink(this)">
                                        <option value="0" selected>------ 兄弟院校 ------</option>
                                        <option value="http://www.tsinghua.edu/">清华大学</option>
                                        <option value="http://www.zju.edu.cn/">浙江大学</option>
                                        <option value="http://www.hust.edu.cn/">华中科技大学</option>
                                        <option value="http://www.sjtu.edu.cn/">上海交通大学</option>
                                        <option value="http://www.scut.edu.cn/">华南理工大学</option>
                                        <option value="http://www.xjtu.edu.cn/">西安交通大学</option>
                                        <option value="http://www.hit.edu.cn/">哈尔滨工业大学</option>
                                    </select>
                                </li>
                            </ul>
                            <script type="text/javascript">
                                function openLink(obj){
                                    var val=obj.options[obj.selectedIndex].value;
                                    if(val=='0') return;
                                    obj.options[0].selected=true;
                                    window.open(val,"_blank");
                                }
                            </script>
                        </div>
                        <div id="search" style="width:32%">
                            <form id="searchForm" action="__URL__/search" method="post">
                                <h5>搜索本站</h5>&nbsp;&nbsp;
                                <input class="ibrTextarea" type="text" name="key" style="font-size:13px;height:14px;padding:2px;" onfocus="initInput(this)" onblur="initInput(this)" value="多个关键词间以“ ”格或“,”分隔" size="36"/>
                                <input id="searchBtn" type="button" value="&nbsp;搜&nbsp;索&nbsp;" onclick="doSearch()"/>
                            </form>
                            <script type="text/javascript">
                                function doSearch(){
                                    var ff=document.getElementById("searchForm");
                                    var keys=ff.elements['key'].value;
                                    if(keys=="多个关键词间以“ ”格或“,”分隔"){
                                        return;
                                    }
                                    ff.setAttribute("action", ff.getAttribute("action")+"/key/"+keys);
                                    ff.submit();
                                }
                                function initInput(obj){
                                    if('ibrTextarea'==obj.className){
                                        obj.value='';
                                        obj.className='ipsTextarea';
                                    }else{
                                        if(obj.value==''){
                                            obj.value='多个关键词间以“ ”格或“,”分隔';
                                            obj.className='ibrTextarea';
                                        }
                                    }
                                }
                            </script>
                        </div>
                        <div style="float:left;width:120px;">
                            <h5>办事指南</h5>
                            <a href="__URL__/category/id/203.html" style="color:#000;margin-left:30px;color:#444444;text-decoration:underline">浏览全部</a>
                        </div>
                    </div>
            </div>
            <div id="copyright">
                <p><b>{&site_name}</b><b>版权所有</b><b><a target="_blank" href="__APP__/Public/login.html">网站管理</a></b></p>
                <p>copyright&copy;2009,school of Mechanical Engineering and Automation,All Rights Reserved</p>
            </div>
        </div>
    </body>
</html>